package com.sgb.kjwl.model.entity.user;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class UserBaseEntity implements Serializable {

    private Long birthday;
    private String realName;
    private String image;
    private String address;
    private String mail;
    private String signature;
    private String sex = "";
    private String companyName;
    @SerializedName(value = "telphone", alternate = {"telephone"})
    private String telephone;
    private String job;
    private String identityCard;

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public Long getBirthday() {
        return birthday;
    }

    public void setBirthday(Long birthday) {
        this.birthday = birthday;
    }

    public String getRealName() {
        if (realName == null)
            return "";
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getAddress() {
        if (address == null)
            return "";
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMail() {
        if (mail == null)
            return "";
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getSignature() {
        if (signature == null)
            return "";
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }


    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCompanyName() {
        if (companyName == null)
            return "";
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getTelephone() {
        if (telephone == null)
            return "";
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getJob() {
        if (job == null)
            return "";
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
